<?php
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
$dataalbumrandom=ringbacktoneModule::getRandomAlbum(5);
if($dataalbumrandom==null){
    echo "Sorry. Dữ liệu trống";
}else{
    $numshow=5;
    foreach ($dataalbumrandom as $row){
        $numshow--;
        if($numshow<0)                                break;
?>
<div class="mar7i"></div>
<div class="albumi">
    <img class="imgalbumi" src="<?=(isset($row["image"])?$row["image"]:"JO_images/no_album2.gif")?>"/>
    <div class="album_title">
        <a href="?JO_unit=002_album_detail&album=<?=md5($row["key"])?>"><?=$row["subject"]?></a>
    </div>
</div>
<?
    }
}
?>
